package com.ruoyi.bl.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import java.math.BigDecimal;

/**
 * 下游公司对象 bl_company
 * 
 * @author ruoyi
 * @date 2023-08-21
 */
public class BlCompany extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 公司ID */
    private Long companyId;

    private Long deptId;

    /** 公司名称 */
    @Excel(name = "公司名称")
    private String companyName;

    /** 公司描述 */
    @Excel(name = "公司描述")
    private String companyDesc;

    /** 公司状态 */
    @Excel(name = "公司状态")
    private Integer isCheck;

    /** 公司主要联系人 */
    @Excel(name = "公司主要联系人")
    private String companyContacts;

    /** 公司主要联系人电话 */
    @Excel(name = "公司主要联系人电话")
    private String companyPhone;

    /** 经度 */
    private BigDecimal longitude;

    /** 纬度 */
    private BigDecimal latitude;

    /**经纬度*/
    private String lonlat;

    public void setCompanyId(Long companyId) 
    {
        this.companyId = companyId;
    }

    public Long getCompanyId() 
    {
        return companyId;
    }
    public void setCompanyName(String companyName) 
    {
        this.companyName = companyName;
    }

    public Long getDeptId() {
        return deptId;
    }

    public void setDeptId(Long deptId) {
        this.deptId = deptId;
    }

    public String getCompanyName() 
    {
        return companyName;
    }
    public void setCompanyDesc(String companyDesc) 
    {
        this.companyDesc = companyDesc;
    }

    public String getCompanyDesc() 
    {
        return companyDesc;
    }
    public void setIsCheck(Integer isCheck) 
    {
        this.isCheck = isCheck;
    }

    public Integer getIsCheck() 
    {
        return isCheck;
    }
    public void setCompanyContacts(String companyContacts) 
    {
        this.companyContacts = companyContacts;
    }

    public String getCompanyContacts() 
    {
        return companyContacts;
    }
    public void setCompanyPhone(String companyPhone) 
    {
        this.companyPhone = companyPhone;
    }

    public String getCompanyPhone() 
    {
        return companyPhone;
    }

    public void setLongitude(BigDecimal longitude)
    {
        this.longitude = longitude;
    }

    public BigDecimal getLongitude()
    {
        return longitude;
    }
    public void setLatitude(BigDecimal latitude)
    {
        this.latitude = latitude;
    }

    public BigDecimal getLatitude()
    {
        return latitude;
    }

    public String getLonlat() {
        return lonlat;
    }

    public void setLonlat(String lonlat) {
        this.lonlat = lonlat;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("companyId", getCompanyId())
            .append("deptId", getDeptId())
            .append("companyName", getCompanyName())
            .append("companyDesc", getCompanyDesc())
            .append("isCheck", getIsCheck())
            .append("companyContacts", getCompanyContacts())
            .append("companyPhone", getCompanyPhone())
            .append("longitude", getLongitude())
            .append("latitude", getLatitude())
            .append("lonlat", getLonlat())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
